From e52016079b9e4fff6efb915477af955a3ace27f7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 23 Jun 2006 13:22:58 +0000 Subject: [PATCH] (rcirc-mode): Fix initialization of coding systems based on rcirc-coding-system-alist. --- lisp/net/rcirc.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index a0b328413b0..683d7c6f3c1 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -719,8 +719,8 @@ If NOTICEP is non-nil, send a notice instead of privmsg." (serv (if (consp (car i)) (cdar i) ""))) (when (and (string-match chan (or target "")) (string-match serv (rcirc-server-name process))) - (setq rcirc-decode-coding-system (if (consp (cdr i)) (cadr i) i) - rcirc-encode-coding-system (if (consp (cdr i)) (cddr i) i))))) + (setq rcirc-decode-coding-system (if (consp (cdr i)) (cadr i) (cdr i)) + rcirc-encode-coding-system (if (consp (cdr i)) (cddr i) (cdr i)))))) ;; setup the prompt and markers (make-local-variable 'rcirc-prompt-start-marker) -- 2.30.2